package com.san.oms.service;

import java.util.List;

import com.san.base.domain.Tree;
import com.san.oms.domain.ModelRoleDO;
import com.san.oms.domain.ModelScDTO;

public interface ModelRoleService {

	Tree<ModelScDTO> getTree(Long deptId);

	int doEdit(ModelRoleDO modelRoleDO);
	
	/**
	 * 角色拥有的指标ID
	 * 
	 * @param userId
	 * @return
	 */
	List<Long> modelList(Long deptId) throws Exception;

}
